<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class FetchAppDataRequest</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class FetchAppDataRequest</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Represents a request to get app data.</p>
		<p class="notes">
			Located in <a class="field" href="_OpenSocialRequest.php.html">/OpenSocialRequest.php</a> (line <span class="field">238</span>)
		</p>
		
				
		<pre><a href="../OpenSocial/OpenSocialRequest.html">OpenSocialRequest</a>
   |
   --FetchAppDataRequest</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																				
												<div class="method-definition">
											<span class="method-result">FetchAppDataRequest</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$user_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$group_id</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$app_id</span> = <span class="var-default">null</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$keys</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../OpenSocial/OpenSocialAppData.html">OpenSocialAppData</a></span>
										<a href="#processJsonResponse" title="details" class="method-name">processJsonResponse</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$response</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$protocol</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">247</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">FetchAppDataRequest</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$user_id</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$group_id</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$app_id</span> = <span class="var-default">null</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$keys</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$user_id</span><span class="var-description">: user_id ID of the user for who this request is targeted.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$group_id</span><span class="var-description">: group_id  The group of users from which to fetch app data.</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$app_id</span><span class="var-description">: keys An array of strings representing app data keys to fetch.</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$keys</span><span class="var-description">: params Additional parameters for the request.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$params</span><span class="var-description">: id String identifier for this request.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../OpenSocial/OpenSocialRequest.html#method__construct">OpenSocialRequest::__construct()</a></dt>
						<dd>Constructor</dd>
					</dl>
			
	</div>
<a name="methodprocessJsonResponse" id="processJsonResponse"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">processJsonResponse</span> (line <span class="line-number">279</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Converts a valid JSON response to an OpenSocialAppData object.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An object representing the returned app data.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../OpenSocial/OpenSocialAppData.html">OpenSocialAppData</a></span>
		<span class="method-name">
			processJsonResponse
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$response</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$protocol</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$response</span><span class="var-description">: A JSON parsed response from the server.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$protocol</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../OpenSocial/OpenSocialRequest.html#methodprocessJsonResponse">OpenSocialRequest::processJsonResponse()</a></dt>
						<dd>Abstract function that should parse a JSON object and return a native  library object.</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../OpenSocial/OpenSocialRequest.html">OpenSocialRequest</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#method__construct">OpenSocialRequest::__construct()</a></span><br>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#methodgetId">OpenSocialRequest::getId()</a></span><br>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#methodgetRequestor">OpenSocialRequest::getRequestor()</a></span><br>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#methodgetRestRequest">OpenSocialRequest::getRestRequest()</a></span><br>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#methodgetRpcBody">OpenSocialRequest::getRpcBody()</a></span><br>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#methodprocessJsonResponse">OpenSocialRequest::processJsonResponse()</a></span><br>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#methodsetRequestor">OpenSocialRequest::setRequestor()</a></span><br>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#methodsetRestParams">OpenSocialRequest::setRestParams()</a></span><br>
													<span class="method-name"><a href="../OpenSocial/OpenSocialRequest.html#methodsetRpcParams">OpenSocialRequest::setRpcParams()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Wed, 17 Dec 2008 11:02:24 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a>
	</p>
	</div></body>
</html>